// This file is required by the index.html file and will
// be executed in the renderer process for that window.
// All of the Node.js APIs are available in this process.
const proc = require('child_process');
const exec = proc.exec;
exec('cd aria2 && aria2c.exe --conf-path=aria2.conf',(error, stdout, stderr) => {
    if (error) {
        throw error;
    }
});